

//
//  ChoseOneCollectionViewCell.m
//  条件选择
//
//  Created by Michael Li on 2018/7/16.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "ChoseOneCollectionViewCell.h"

@interface ChoseOneCollectionViewCell()
@end

#define kSize self.contentView.frame.size
@implementation ChoseOneCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, kSize.width*0.7, 22)];
        _label.textColor = [UIColor colorWithRed:102/255.0 green:102/255.0 blue:102/255.0 alpha:1];
        _label.font = [UIFont systemFontOfSize:13];
        _label.center = self.contentView.center;
        _label.layer.borderWidth = 1;
        _label.layer.borderColor = [UIColor colorWithRed:200/255.0 green:200/255.0 blue:200/255.0 alpha:1].CGColor;
        _label.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_label];
    }
    return self;
}
@end
